package ccm.component.override;

import ccm.common.CCMConfigManager;

import javax.swing.*;

public class JMenuItem extends javax.swing.JMenuItem
{
    public JMenuItem()
    {
        setFont(CCMConfigManager.getFont("ccm/general/font"));
    }

    public JMenuItem(Icon icon)
    {
        super(icon);
        setFont(CCMConfigManager.getFont("ccm/general/font"));
    }

    public JMenuItem(String s)
    {
        super(s);
        setFont(CCMConfigManager.getFont("ccm/general/font"));
    }

    public JMenuItem(Action a)
    {
        super(a);
        setFont(CCMConfigManager.getFont("ccm/general/font"));
    }

    public JMenuItem(String text,Icon icon)
    {
        super(text,icon);
        setFont(CCMConfigManager.getFont("ccm/general/font"));
    }

    public JMenuItem(String text,int mnemonic)
    {
        super(text,mnemonic);
        setFont(CCMConfigManager.getFont("ccm/general/font"));
    }

}
